#ifndef __LXZ_SOCKET_CMD_H__
#define __LXZ_SOCKET_CMD_H__

#define LXZAT_HWIP_MAX_NUM 5

#define LXZAT_HWIP_INVALID_FD (~0)

#define LXZAT_HWIP_IPSTRING_MAX 16
#define LXZAT_HWIP_URLSTRING_MAX 255

typedef enum _LXZAT_HWIP_SOCKET_STATE_E
{
    E_HWIP_SOCKET_IDLE,
    E_HWIP_SOCKET_SET,
    E_HWIP_SOCKET_CONNECTING,
    E_HWIP_SOCKET_ACTIVE,
    E_HWIP_SOCKET_SENDING,
    E_HWIP_SOCKET_CLOSING
}LXZAT_HWIP_SOCKET_STATE_E;

typedef enum _LXZAT_HWIP_LINK_TYPE_E
{
    E_HWIP_LINK_IDLE,
    E_HWIP_LINK_UDP,
    E_HWIP_LINK_TCP,
    E_HWIP_LINK_TCPD,
    E_HWIP_LINK_MAX
}LXZAT_HWIP_LINK_TYPE_E;

#define LXZAT_HWIP_TRYREAD_MIN 1
#define LXZAT_HWIP_TRYREAD_DEF 1460
#define LXZAT_HWIP_TRYREAD_MAX 4096
#define LXZAT_HWIP_TRYWRITE_MIN 1
#define LXZAT_HWIP_TRYWRITE_MAX 4096



#endif /* __LXZ_SOCKET_CMD_H__ */

